Hệ thống bổ nhiệm bác sĩ trong PHP bằng mã nguồn

1 <?php if(!isset($_SESSION)){
2     session_start();
3     }
4 ?>
5
6 <?php include(
'header.php'); ?>
7
8
9
10
11
12
13     <!--
this is for donor registraton -->
14     <div
class="dashboard" style="background-color:#fff;">
15         <h3
class="text-center" style="background-color:#272327;color: #fff;padding: 5px;">Customer</h3>
16         
17         
18     </div>
19         
20             <div
class="all_user" style="margin-top:0px; margin-left: 40px;">
21                 <?php
22                     include(
'../config.php');
23                     $sql =
" SELECT * FROM feedback";
24                     $result = mysqli_query($conn,$sql);
25                     $count = mysqli_num_rows($result);
26
27                     
if($count>=1){
28                         echo
"<table border='1' align='center' cellpadding='32'>
29                             <tr>
30                                 <th>ID</th>
31                                 <th>Email</th>
32                                 <th>FeedBack</th>
33                                 <th>Action</th>
34                                 
35                             </tr>"
;
36                         
while($row=mysqli_fetch_array($result)){
37                                 echo
"<tr>";
38                                 echo
"<td>".$row['id']."</td>";
39                                 echo
"<td>".$row['email']."</td>";
40                                 echo
"<td>".$row['feedback']."</td>";
41                                 echo
"<td><button type='submit' name='submit' style='color:#000;'>Delete</button></td>";
42                                 echo
"</tr>";
43                         }
44                         echo
"</table>";
45                     }
46                     
else{
47                         print
"<p align='center'>Sorry, No match found for your search result..!!!</p>";
48                     }
49
50                     ?>
51             </div>
52         
53     
54     
55     
56
57     
58  <?php include(
'footer.php'); ?>
59
60
61     
62     </div><!-- containerFluid Ends -->
63
64
65
66
67     <script src=
"js/bootstrap.min.js"></script>
68
69
70  
71             
72
73
74
75     
76 </body>
77 </html>


Gõ tìm kiếm nhanh...